package com.ruoyi.project.er.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.project.er.domain.PaeaErErrorInstRel;
import com.ruoyi.project.er.mapper.PaeaErErrorInstRelMapper;
import com.ruoyi.project.er.service.IPaeaErErrorInstRelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.common.utils.text.Convert;

import javax.annotation.Resource;

/**
 * 督办实例关系Service业务层处理
 *
 * @author XQ.XU
 * @date 2020-04-12
 */
@Service
public class PaeaErErrorInstRelServiceImpl extends ServiceImpl<PaeaErErrorInstRelMapper, PaeaErErrorInstRel> implements IPaeaErErrorInstRelService
{
    @Resource
    private PaeaErErrorInstRelMapper paeaErErrorInstRelMapper;

    @Override
    public List<PaeaErErrorInstRel> selectPaeaErErrorInstRelsByErrId(String errId) {
        return paeaErErrorInstRelMapper.selectPaeaErErrorInstRelsByErrId(errId);
    }

    @Override
    public int deletePaeaErProcInstRelByErrId(String errId) {
        return paeaErErrorInstRelMapper.deletePaeaErErrorInstRelByErrId(errId);
    }

    @Override
    public int deletePaeaErProcInstRelByInstId(String instId) {
        return paeaErErrorInstRelMapper.deletePaeaErErrorInstRelByInstId(instId);
    }
}
